import React from 'react';
import './App.scss';
import { Route, Switch } from 'react-router-dom';
import Index from './pages/index';
import Meeting from './pages/meeting';
import {BrowserRouterHook} from './utils/use-router';
function App() {
  return (
    <BrowserRouterHook>
      <Switch>
        <Route exact path="/meeting/:name" component={Meeting}></Route>
        <Route path="/" component={Index}></Route>
      </Switch>
    </BrowserRouterHook>
  );
}

export default App;
